
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<html>
<head>
    <title>details</title>
    <base href="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/pages/Manage/OrderDetails.jsp"/>
</head>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<body>
<table align="center" border="1" cellspacing="0">
    <tr>
        <th>商品名</th>
        <th>单价</th>
        <th>数量</th>
        <th>总价</th>
    </tr>
<c:forEach items="${details}" var="x">
    <tr>
        <td>${x.name}</td>
        <td>${x.price}</td>
        <td>${x.count}</td>
        <td>${x.totalPrice}</td>
    </tr>
</c:forEach>
</table>
</body>
</html>
